func net/http.badStringError
12 uses
net/http (current package)
request.go#L94: func badStringError(what, val string) error { return fmt.Errorf("%s %q", what, val) }
request.go#L1053: return nil, badStringError("malformed HTTP request", s)
request.go#L1056: return nil, badStringError("invalid method", req.Method)
request.go#L1060: return nil, badStringError("malformed HTTP version", req.Proto)
response.go#L170: return nil, badStringError("malformed HTTP response", line)
response.go#L177: return nil, badStringError("malformed HTTP status code", statusCode)
response.go#L181: return nil, badStringError("malformed HTTP status code", statusCode)
response.go#L184: return nil, badStringError("malformed HTTP version", resp.Proto)
transfer.go#L315: return badStringError("invalid Trailer key", k)
transfer.go#L786: err = badStringError("bad trailer key", key)
transfer.go#L1050: return 0, badStringError("bad Content-Length", cl)
transport.go#L560: return nil, badStringError("unsupported protocol scheme", scheme)
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |